{* smarty *}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{block name="title"}月田OA系统{/block}</title>
<link href="/styles/style.css" rel="stylesheet" type="text/css" />
<link href="/styles/jquery-ui/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />

{* This block for external_css, like <link href="example.css" ref="stylesheet" type="text/css" /> *}
{block name="external_css"}{/block}

{* This block for local page css, lick .example {background-color:red} *}
{block name="css"}{/block}

<script type="text/javascript" src="/scripts/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="/scripts/jquery-ui/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="/scripts/parseuri.js"></script>

{* This block for external_javascript, like <link href="example.js" type="text/javascript" /> *}
{block name="external_javascript"}{/block}

{* this block for local page javascript *}
{block name="javascript"}{/block}
<script type="text/javascript">
{include file='include/menu.tpl'}
</script>
</head>

<body>
<div id="header">
	<div class="logo"><img src="/images/corp_logo.gif" alt="月田" /></div>
    <h1>月田OA系统</h1>
    <div class="userbar">
        {$session_user=$SESSION->get_user()}
    	<span>{$session_user.id|ytuid}</span><span class="userId">{$session_user.username|escape}</span>[<a href="#">修改密码</a>，<a href="/logout">退出</a>]
    </div>
</div>
<div class="wrap clearFloat">
    {* Left menu begin *}
	<div class="leftMenu" id="leftMenu"></div>
    {* Left menu end *}

    <div class="content">
        {* page breadcrumb, only info or error page need override this block *}
        {block name="crumb"}
    	<div class="crumb">
        	<h2 id="menuLocation"></h2>
        </div>

        <div id="tabsMain" class="tabs" style="display:none">
            <ul id="tabsMenu"></ul>
        </div>
        {/block}
    
<script type="text/javascript">
    create_menu('leftMenu', 'tabsMenu', 'menuLocation');
</script>

        {* This block for content, must be override in child template *}
        {block name="content"}{/block}
    </div>
    <div class="clearFloat"></div>
</div>
<div class="cover" id="cover"></div>
<div class="sysMsg" id="sysMsg">
    <div class="title">
        <div class="bg01">
            <div class="bg02">
                <h2><a href="#" onclick="Popup.closeWin(); return false;">×</a>系统提示</h2>
            </div>
        </div>
    </div>
    <div class="winCont clearFloat">
        <div class="icon">&nbsp;</div>
        <p id="msgText"></p>
        <div id="btnCont" class="btns"></div>
    </div>
</div>
<script type="text/javascript" src="/scripts/popup.js"></script>
</body>
</html>
